package com.meilai.project.entity.business.customer;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.meilai.project.core.bean.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author xhy
 * @since 2022-10-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("customer_visit_comments")
@ApiModel(value = "CustomerVisitComments对象", description = "")
public class CustomerVisitComments extends SuperEntity {

    @ApiModelProperty(value = "客户id")
    private Long customer_id;

    @ApiModelProperty(value = "批注")
    private String comments;

    @ApiModelProperty(value = "是否收到")
    private Boolean received_or_not;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime created_time;

}
